package ch.elexis.persistence.couchbase

import scala.collection.immutable.TreeSet
import ch.elexis.core.data._

/**
 * This is the core storage element. It holds all managed customer objects. 
 */
class Couch(dbUID:String, mandatorUID:String) extends PersistentCouchObject {
		set("dbuid",dbUID)
		set("mandatorUID",mandatorUID)
		create(PersistentCouchManager.rootID);
	
		var customers = List[ICustomer]()

}

class CouchOrdering extends Ordering[ICustomer]{
	def compare(first: ICustomer, second: ICustomer) = 0
}